package com.pinusmusic.domain;
/*
歌曲
 */
public class Music {
    private Integer mid;//歌曲编号
    private String musicname;//歌名
    private String musicpath;//歌曲文件路径
    private Integer sid;//歌手编号
    private Integer favoritecount;//歌曲被收藏数量
    private String lyrics;//歌词

    private Integer musiclanguageid;//歌曲语种ID
    private Integer musicstyleid;//歌曲风格id
    private Singer singer;
    public Music() {
    }

    public Music(Integer mid, String musicname, String musicpath, Integer sid, Integer musiclanguageid, Integer musicstyleid, Integer favoritecount, String lyrics, Singer singer) {
        this.mid = mid;
        this.musicname = musicname;
        this.musicpath = musicpath;
        this.sid = sid;
        this.musiclanguageid = musiclanguageid;
        this.musicstyleid = musicstyleid;
        this.favoritecount = favoritecount;
        this.lyrics = lyrics;
        this.singer = singer;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public String getMusicname() {
        return musicname;
    }

    public void setMusicname(String musicname) {
        this.musicname = musicname;
    }

    public String getMusicpath() {
        return musicpath;
    }

    public void setMusicpath(String musicpath) {
        this.musicpath = musicpath;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getMusiclanguageid() {
        return musiclanguageid;
    }

    public void setMusiclanguageid(Integer musiclanguageid) {
        this.musiclanguageid = musiclanguageid;
    }

    public Integer getMusicstyleid() {
        return musicstyleid;
    }

    public void setMusicstyleid(Integer musicstyleid) {
        this.musicstyleid = musicstyleid;
    }

    public Integer getFavoritecount() {
        return favoritecount;
    }

    public void setFavoritecount(Integer favoritecount) {
        this.favoritecount = favoritecount;
    }

    public String getLyrics() {
        return lyrics;
    }

    public void setLyrics(String lyrics) {
        this.lyrics = lyrics;
    }

    public Singer getSinger() {
        return singer;
    }

    public void setSinger(Singer singer) {
        this.singer = singer;
    }

    @Override
    public String toString() {
        return "Music{" +
                "mid=" + mid +
                ", musicname='" + musicname + '\'' +
                ", musicpath='" + musicpath + '\'' +
                ", sid=" + sid +
                ", musiclanguageid=" + musiclanguageid +
                ", musicstyleid=" + musicstyleid +
                ", favoritecount=" + favoritecount +
                ", lyrics='" + lyrics + '\'' +
                ", singer=" + singer +
                '}';
    }
}
